/**
 * Created by feifan on 2016/6/16.
 */
"use strict";
(function(){
  var header = document.querySelector('header>.bg-img');

  document.addEventListener('scroll',function(){
    header.style.transform = "translate3d(0,"+document.body.scrollTop / 2 + "px,0)";
  });

})();
